home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11814 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: ocbbs.gen.nz!not-for-mail
  2. From: steve@hn.ocbbs.gen.nz (Steve Detoni)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Will JAVA kill C++?
  5. Date: 16 Mar 1996 22:46:47 +1300
  6. Message-ID: <4ie2m7$5re@hn.ocbbs.gen.nz>
  7. References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu>
  8. NNTP-Posting-Host: hn.hn.planet.gen.nz
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. : When one is interested in speed, one should avoid pointers (as
  13. : does. Fortran), since pointers kill opportunities for optimization.
  14. How can you say that .... Would you rather pass a large structures entire 
  15. contents, or say just a 4 byte address pointer, now which would be faster?
  16. Or would you be so un-modula as to have such things as global variables.
  17.  
  18. Optimisation is the art of using the language capabilities to their best, 
  19. and C(++) has alot to offer, and pointers are a major one, especially in 
  20. memory optimisation .... 
  21.  
  22. Steve.
  23.  
  24. : :    Java main advantage, and a large advantage it is, will be complete
  25. : : cross-platform compatibility.  Meaning any JAVA program will run on any
  26. : : machine which has an interpreter programmed for it.  
  27.  
  28. : Just like C++, no?  Either language can be compiled into an
  29. : efficiently interpretable pseudo-code.  Perhaps, someone will retarget
  30. : g++ to the JAVA pseudo-machine, just to prove the point.
  31. I had a look at JAVA within a book at a book store, at first glance I 
  32. thought it was c++, and could find little difference between the two 
  33. syntaxitly in the what code saw. Why would anyone re-event a langauge 
  34. (i.e. C)?
  35.  
  36.  
  37. Steve.
  38.